#ifndef _WIFI_INIT_H_
#define _WIFI_INIT_H_


#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_log.h"
#include "nvs_flash.h"

#include "lwip/err.h"
#include "lwip/sys.h"




#define EXAMPLE_ESP_WIFI_SSID      "HUAWEI-1B94R9"
#define EXAMPLE_ESP_WIFI_PASS      "znjj1230"
#define EXAMPLE_ESP_MAXIMUM_RETRY  20



#define WIFI_CONNECTED_BIT       BIT0
#define WIFI_FAIL_BIT            BIT1





extern void wifi_init(void);



#endif


